<?php

/**
 * General controller
 *
 * @uses       Beaver_Controller_Action
 * @package    Beaver
 * @subpackage Controller
 */
class GeneralController extends Beaver_Controller_Action
{

	/**
	 * Render the Module js layout
	 *
	 */
	public function indexAction()
	{
		
	}
	
	public function getcountriesAction()
	{
		$this->view->result = array(
			"data" => array(
				array( 
					"id" => "Hu",
					"name" =>"Magyar"
				),
				array( 
					"id" => "AT",
					"name" =>"Auszt"
				)
			),
			"totalCount" => 2
		);
	}
	
	public function regionreadAction()
	{
		$this->view->result = array(
			"data" => array(
				array( 
					"id" => "1",
					"name" =>"Zala"
				),
				array( 
					"id" => "2",
					"name" =>"Somogy"
				)
			),
			"totalCount" => 2
		);
	}
}
